projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
000596b
)
Update mkchanges to deal with Git/Github.
author
Robert Lipe
<robertlipe@gpsbabel.org>
Sun, 27 Dec 2015 21:48:45 +0000
(15:48 -0600)
committer
Robert Lipe
<robertlipe@gpsbabel.org>
Sun, 27 Dec 2015 21:48:45 +0000
(15:48 -0600)
tools/mkchanges
patch
|
blob
|
history
diff --git
a/tools/mkchanges
b/tools/mkchanges
index 13c056ffd45954a4dacfd504a79e09fed4ad7add..db54175fa8741b9cbef4f1f1356c67be5cf537f4 100644
(file)
--- a/
tools/mkchanges
+++ b/
tools/mkchanges
@@
-1,6
+1,10
@@
-# cvsps -u
+# GitHub version lets it render something prewtty close to HTML. (Still have to manually fix <, >, and other entities...)
+git log --date=short --pretty=format:"<tr>%n <td class=\"date\">%cd</td>%n <td>%s %b</td>%n</tr>"
-svn log | awk '
+exit 0
+
+# Subversion version.
+git log | awk '
skip = 0;
/^r[0-9].*lines?$/ {
if (count > 0) printf " </td>\n</tr>\n"
@@
-24,6
+28,7
@@
skip = 0;
exit 0
+# CVS version.
cvsps $* | awk '
/^Date:/ {
logt = "";